# -*-coding:utf-8 -*-
# File  : otTransferUpdate.py
# Time  ：2021/12/13 15:15
# Author：author name

from api.manage.manage_base import ManageBase


class OtTransferUpdate(ManageBase):
    def __init__(self):
        """即开中转更新接口"""
        super().__init__()
        self.url = self.host + "cloudlottery-manage/otTransfer/update"
        self.json = {"serverName": "深圳思乐即开票", "lotteryPlatform": "SILE", "serverUrl": "http://220.112.40.58:9888",
                     "remark": "{\"signPath\":\"/opt/sile/test-sile-jkp.p12\",\"signPassword\":\"123456\"}",
                     "saleProvince": "440300", "operatorId": "3b1ffaa85e634e1994a1fd69edf0c55b", "agentId": "00001",
                     "stationId": "00001", "appKey": "0FD2672D2A5A5C4DA5200001", "appSecret": "",
                     "attach": "{\"signPath\":\"/opt/sile/test-sile-jkp.p12\",\"signPassword\":\"123456\"}",
                     "id": "df55f0d7ffcc4d76bda090382d0267f9"}
        self.method = "put"
